package xcmg.device.service.vo;

import xcmg.device.infra.ErrorCode;

/**
 * Created by GYJ on 2017-12-29.
 */
public class FunctionResult<T> {
    private ErrorCode code;
    private T value;

    public ErrorCode getCode() {
        return code;
    }

    public void setCode(ErrorCode code) {
        this.code = code;
    }

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }
}
